package test.mp.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @ClassName UserStatus
 * @Description TODO
 * @Author wxx
 * @Date 2024/08/25/0:39
 * @Version 1.0
 */
@Getter
public enum UserStatus {

    NORMAL("1","正常"),
    FORBIDDEN("2","禁用");
    ;

    @EnumValue
    @JsonValue
    private final String value;
    private final String desc;


    UserStatus(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }



}
